/* CSS Document */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #333; background-color: #f4f4f4; } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } /* Header Styles */ .header { background: #2c3e50; color: white; padding: 1rem 0; text-align: center; box-shadow: 0 2px 5px rgba(0,0,0,0.1); } /* Button Styles */ .btn { display: inline-block; padding: 10px 20px; border: none; border-radius: 5px; text-decoration: none; font-size: 16px; cursor: pointer; transition: all 0.3s ease; } .btn-primary { background: #3498db; color: white; } .btn-primary:hover { background: #2980b9; } .btn-secondary { background: #95a5a6; color: white; } .btn-secondary:hover { background: #7f8c8d; } .btn-success { background: #27ae60; color: white; } .btn-success:hover { background: #219a52; } .btn-admin { background: #e74c3c; color: white; } .btn-admin:hover { background: #c0392b; } /* Form Styles */ .form-container { max-width: 500px; margin: 2rem auto; padding: 2rem; background: white; border-radius: 10px; box-shadow: 0 0 20px rgba(0,0,0,0.1); } .form-group { margin-bottom: 1rem; } .form-group label { display: block; margin-bottom: 0.5rem; font-weight: bold; } .form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 5px; font-size: 16px; } /* Alert Styles */ .alert { padding: 15px; margin-bottom: 1rem; border-radius: 5px; } .alert-error { background: #e74c3c; color: white; } .alert-success { background: #27ae60; color: white; } /* Exam Styles */ .exam-container { background: white; min-height: 100vh; } .exam-header { background: #2c3e50; color: white; padding: 1rem; display: flex; justify-content: space-between; align-items: center; } .exam-timer { background: #e74c3c; padding: 10px 20px; border-radius: 5px; font-weight: bold; } .question-card { border: 1px solid #ddd; border-radius: 10px; padding: 1.5rem; margin-bottom: 1rem; background: #f9f9f9; } .question-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; } .question-text { font-size: 18px; margin-bottom: 1rem; font-weight: 500; } .options { display: grid; gap: 10px; } .option { display: flex; align-items: center; padding: 10px; border: 1px solid #ddd; border-radius: 5px; cursor: pointer; transition: all 0.3s ease; } .option:hover { background: #ecf0f1; } .option input { margin-right: 10px; } .exam-navigation { display: flex; justify-content: space-between; align-items: center; padding: 1rem; border-top: 1px solid #ddd; margin-top: 2rem; } .pagination { display: flex; gap: 5px; } .page-link { padding: 8px 12px; border: 1px solid #ddd; border-radius: 5px; text-decoration: none; color: #333; } .page-link.active { background: #3498db; color: white; border-color: #3498db; } /* Result Styles */ .result-container { max-width: 800px; margin: 2rem auto; padding: 2rem; background: white; border-radius: 10px; box-shadow: 0 0 20px rgba(0,0,0,0.1); } .result-summary { text-align: center; margin-bottom: 2rem; } .score-circle { width: 150px; height: 150px; border-radius: 50%; background: #3498db; color: white; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: bold; margin: 0 auto 1rem; } .result-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2rem; } .detail-card { background: #f8f9fa; padding: 1rem; border-radius: 5px; text-align: center; } /* Admin Styles */ .admin-content { background: white; padding: 2rem; border-radius: 10px; box-shadow: 0 0 20px rgba(0,0,0,0.1); margin: 2rem 0; } .format-table { width: 100%; border-collapse: collapse; margin-top: 1rem; } .format-table th, .format-table td { border: 1px solid #ddd; padding: 10px; text-align: left; } .format-table th { background: #f4f4f4; } /* Responsive Design */ @media (max-width: 768px) { .exam-header { flex-direction: column; gap: 1rem; text-align: center; } .exam-navigation { flex-direction: column; gap: 1rem; } .pagination { flex-wrap: wrap; justify-content: center; } .form-container { margin: 1rem; padding: 1rem; } .result-details { grid-template-columns: 1fr; } } /* Add these styles to your existing style.css file */ /* Profile specific styles */ .profile-picture { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.1); } .profile-info { margin-left: 1.5rem; } .profile-actions { margin-top: 1.5rem; } .btn-change-photo { background: #6c757d; color: white; padding: 0.5rem 1rem; border: none; border-radius: 5px; cursor: pointer; font-size: 0.9rem; } .btn-change-photo:hover { background: #5a6268; } /* Progress bars */ .progress { height: 8px; background: #e9ecef; border-radius: 4px; overflow: hidden; margin-top: 0.5rem; } .progress-bar { height: 100%; background: linear-gradient(90deg, #3498db, #2ecc71); border-radius: 4px; transition: width 0.3s ease; } /* Badge styles */ .badge { display: inline-block; padding: 0.25rem 0.5rem; font-size: 0.75rem; font-weight: 600; line-height: 1; text-align: center; white-space: nowrap; vertical-align: baseline; border-radius: 0.375rem; } .badge-primary { background: #3498db; color: white; } .badge-success { background: #27ae60; color: white; } /* Responsive table */ .table-responsive { overflow-x: auto; } /* Loading states */ .loading { opacity: 0.6; pointer-events: none; } /* Animation for stats */ @keyframes countUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .stat-card { animation: countUp 0.6s ease-out; } /* Print styles */ @media print { .btn-update, .profile-actions { display: none; } .profile-card { box-shadow: none; border: 1px solid #ddd; } }